package com.ruoyi.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 支付信息表对象 service_pay
 * 
 * @author ZDL
 * @date 2024-12-02
 */
public class ServicePay extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 支付信息表主键ID */
    private Long payId;

    /** 预付 */
    @Excel(name = "预付")
    private Long payAdvancepay;

    /** 预付支付流水号 */
    @Excel(name = "预付支付流水号")
    private String payAdvancepaycode;

    /** 预付方式 */
    @Excel(name = "预付方式")
    private String payAdvancepaytype;

    /** 账单 */
    @Excel(name = "账单")
    private Long payBill;

    /** 实付 */
    @Excel(name = "实付")
    private Long payActualpay;

    /** 退款/补差价 */
    @Excel(name = "退款/补差价")
    private Long payDifference;

    /** 最终支付 */
    @Excel(name = "最终支付")
    private Long payFinalpay;

    /** 最终支付流水号 */
    @Excel(name = "最终支付流水号")
    private String payFinalpaycode;

    /** 最终支付方式 */
    @Excel(name = "最终支付方式")
    private String payFinalpaytype;

    /** 订单预付支付是否完成（0完成 1未完成） */
    @Excel(name = "订单预付支付是否完成", readConverterExp = "0=完成,1=未完成")
    private String payStatus;

    /** 订单最终支付是否完成（0完成 1未完成） */
    @Excel(name = "订单最终支付是否完成", readConverterExp = "0=完成,1=未完成")
    private String payStatusfinish;

    /** 创建者 */
    @Excel(name = "创建者")
    private String payCreateBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payCreateTime;

    /** 更新者 */
    @Excel(name = "更新者")
    private String payUpdateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payUpdateTime;

    /** 启用标志（0代表启用 2代表不启用） */
    @Excel(name = "启用标志", readConverterExp = "0=代表启用,2=代表不启用")
    private String payUseFlag;

    /** 删除标志（0代表存在 2代表删除） */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
    private String payDelFlag;

    /** 备注 */
    @Excel(name = "备注")
    private String payRemark;

    public void setPayId(Long payId) 
    {
        this.payId = payId;
    }

    public Long getPayId() 
    {
        return payId;
    }
    public void setPayAdvancepay(Long payAdvancepay) 
    {
        this.payAdvancepay = payAdvancepay;
    }

    public Long getPayAdvancepay() 
    {
        return payAdvancepay;
    }
    public void setPayAdvancepaycode(String payAdvancepaycode) 
    {
        this.payAdvancepaycode = payAdvancepaycode;
    }

    public String getPayAdvancepaycode() 
    {
        return payAdvancepaycode;
    }
    public void setPayAdvancepaytype(String payAdvancepaytype) 
    {
        this.payAdvancepaytype = payAdvancepaytype;
    }

    public String getPayAdvancepaytype() 
    {
        return payAdvancepaytype;
    }
    public void setPayBill(Long payBill) 
    {
        this.payBill = payBill;
    }

    public Long getPayBill() 
    {
        return payBill;
    }
    public void setPayActualpay(Long payActualpay) 
    {
        this.payActualpay = payActualpay;
    }

    public Long getPayActualpay() 
    {
        return payActualpay;
    }
    public void setPayDifference(Long payDifference) 
    {
        this.payDifference = payDifference;
    }

    public Long getPayDifference() 
    {
        return payDifference;
    }
    public void setPayFinalpay(Long payFinalpay) 
    {
        this.payFinalpay = payFinalpay;
    }

    public Long getPayFinalpay() 
    {
        return payFinalpay;
    }
    public void setPayFinalpaycode(String payFinalpaycode) 
    {
        this.payFinalpaycode = payFinalpaycode;
    }

    public String getPayFinalpaycode() 
    {
        return payFinalpaycode;
    }
    public void setPayFinalpaytype(String payFinalpaytype) 
    {
        this.payFinalpaytype = payFinalpaytype;
    }

    public String getPayFinalpaytype() 
    {
        return payFinalpaytype;
    }
    public void setPayStatus(String payStatus) 
    {
        this.payStatus = payStatus;
    }

    public String getPayStatus() 
    {
        return payStatus;
    }
    public void setPayStatusfinish(String payStatusfinish) 
    {
        this.payStatusfinish = payStatusfinish;
    }

    public String getPayStatusfinish() 
    {
        return payStatusfinish;
    }
    public void setPayCreateBy(String payCreateBy) 
    {
        this.payCreateBy = payCreateBy;
    }

    public String getPayCreateBy() 
    {
        return payCreateBy;
    }
    public void setPayCreateTime(Date payCreateTime) 
    {
        this.payCreateTime = payCreateTime;
    }

    public Date getPayCreateTime() 
    {
        return payCreateTime;
    }
    public void setPayUpdateBy(String payUpdateBy) 
    {
        this.payUpdateBy = payUpdateBy;
    }

    public String getPayUpdateBy() 
    {
        return payUpdateBy;
    }
    public void setPayUpdateTime(Date payUpdateTime) 
    {
        this.payUpdateTime = payUpdateTime;
    }

    public Date getPayUpdateTime() 
    {
        return payUpdateTime;
    }
    public void setPayUseFlag(String payUseFlag) 
    {
        this.payUseFlag = payUseFlag;
    }

    public String getPayUseFlag() 
    {
        return payUseFlag;
    }
    public void setPayDelFlag(String payDelFlag) 
    {
        this.payDelFlag = payDelFlag;
    }

    public String getPayDelFlag() 
    {
        return payDelFlag;
    }
    public void setPayRemark(String payRemark) 
    {
        this.payRemark = payRemark;
    }

    public String getPayRemark() 
    {
        return payRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("payId", getPayId())
            .append("payAdvancepay", getPayAdvancepay())
            .append("payAdvancepaycode", getPayAdvancepaycode())
            .append("payAdvancepaytype", getPayAdvancepaytype())
            .append("payBill", getPayBill())
            .append("payActualpay", getPayActualpay())
            .append("payDifference", getPayDifference())
            .append("payFinalpay", getPayFinalpay())
            .append("payFinalpaycode", getPayFinalpaycode())
            .append("payFinalpaytype", getPayFinalpaytype())
            .append("payStatus", getPayStatus())
            .append("payStatusfinish", getPayStatusfinish())
            .append("payCreateBy", getPayCreateBy())
            .append("payCreateTime", getPayCreateTime())
            .append("payUpdateBy", getPayUpdateBy())
            .append("payUpdateTime", getPayUpdateTime())
            .append("payUseFlag", getPayUseFlag())
            .append("payDelFlag", getPayDelFlag())
            .append("payRemark", getPayRemark())
            .toString();
    }
}
